export const columns = [
  {
    prop: 'afterSaleType',
    label: '订单类别',
    width: 110,
    formatter: (row) => {
      return row.afterSaleType == 1 ? '系统订单' : '平台订单';
    },
    search: true
  },
  {
    prop: 'orderId',
    label: '售后订单',
    width: 180,
    search: true
  },
  {
    prop: 'status',
    label: '售后状态',
    width: 180,
    search: true,
    slot: 'afterSaleStatusSlot'
  },
  {
    prop: 'state',
    label: '客户信息',
    slot: 'logisticsSlot',
    width: 200,
    search: true
  },
  {
    prop: 'salesman',
    label: '下发业务员',
    slot: 'salesmanSlot',
    width: 160,
    search: true
  },
  {
    prop: 'returnDeliverNo',
    label: '售后单号',
    width: 220,
    slot: 'returnDeliverNoSlot'
  },
  // sendStatus
  {
    prop: 'sendStatus',
    label: '订单发货状态',
    minWidth: 140,
    slot: 'sendStatusSlot'
  },
  {
    prop: 'type',
    label: '售后类型',
    minWidth: 140,
    slot: 'saleTypeSlot'
  },
  // 售后物流状态
  {
    prop: 'logisticsStatus',
    label: '售后物流状态',
    minWidth: 140,
    slot: 'logisticsStatusSlot'
  },
  {
    prop: 'remark',
    label: '备注',
    slot: 'remarkSlot',
    minWidth: 200
  }
  // {
  //     prop: "operation",
  //     label: "操作",
  //     fixed: "right",
  //     slot: "operationSlot",
  //     width: 120,
  // },
];
